import request from '@/utils/request'
export function fetchList(query) {
    return request({
        url: '/Qlist/getList',
        method: 'get',
        params: query
    })
}
export function fetchArticle(id) {
    return request({
        url: '/vue-element-admin/article/detail',
        method: 'get',
        params: { id }
    })
}
//选择账号
export function fetchsmslist(query) {
    return request({
        url: '/Smsck/getList',
        method: 'get',
        params: query
    })
}
export function getqhylist(query) {
    return request({
        url: '/Qlist/getqhylist',
        method: 'get',
        params: query
    })
}


//分组列表
export function fetfzlist(query) {
    return request({
        url: '/Fenzu/getList',
        method: 'get',
        params: query
    })
}
export function createArticle(data) {
    return request({
        url: '/Addqz/getAdd',
        method: 'post',
        data
    })
}
export function updateArticle(data) {
    return request({
        url: '/Addqz/getEdit',
        method: 'post',
        data
    })
}
export function getDel(data) {
    return request({
        url: '/Addqz/getDel',
        method: 'post',
        data
    })
}